Optimal. Leaf size=172 \[ \frac {5}{112} (2 x+5)^2 \left (2 x^2-x+3\right )^{5/2}-\frac {311}{448} (2 x+5) \left (2 x^2-x+3\right )^{5/2}+\frac {3505}{896} \left (2 x^2-x+3\right )^{5/2}+\frac {(500141-123060 x) \left (2 x^2-x+3\right )^{3/2}}{12288}+\frac {(141051019-23482924 x) \sqrt {2 x^2-x+3}}{65536}-\frac {99009 \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {2} \sqrt {2 x^2-x+3}}\right )}{8 \sqrt {2}}+\frac {1622009981 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{131072 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 172, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 7, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.175, Rules used = {1653, 814, 843, 619, 215, 724, 206} \[ \frac {5}{112} (2 x+5)^2 \left (2 x^2-x+3\right )^{5/2}-\frac {311}{448} (2 x+5) \left (2 x^2-x+3\right )^{5/2}+\frac {3505}{896} \left (2 x^2-x+3\right )^{5/2}+\frac {(500141-123060 x) \left (2 x^2-x+3\right )^{3/2}}{12288}+\frac {(141051019-23482924 x) \sqrt {2 x^2-x+3}}{65536}-\frac {99009 \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {2} \sqrt {2 x^2-x+3}}\right )}{8 \sqrt {2}}+\frac {1622009981 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{131072 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 215
Rule 619
Rule 724
Rule 814
Rule 843
Rule 1653
Rubi steps
\begin {align*} \int \frac {\left (3-x+2 x^2\right )^{3/2} \left (2+x+3 x^2-x^3+5 x^4\right )}{5+2 x} \, dx &=\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}+\frac {1}{224} \int \frac {\left (3-x+2 x^2\right )^{3/2} \left (573-9926 x-14508 x^2-7464 x^3\right )}{5+2 x} \, dx\\ &=-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}+\frac {\int \frac {\left (3-x+2 x^2\right )^{3/2} \left (-430152+2062560 x+1682400 x^2\right )}{5+2 x} \, dx}{21504}\\ &=\frac {3505}{896} \left (3-x+2 x^2\right )^{5/2}-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}+\frac {\int \frac {(24853920-68913600 x) \left (3-x+2 x^2\right )^{3/2}}{5+2 x} \, dx}{860160}\\ &=\frac {(500141-123060 x) \left (3-x+2 x^2\right )^{3/2}}{12288}+\frac {3505}{896} \left (3-x+2 x^2\right )^{5/2}-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}-\frac {\int \frac {(-29846322240+78902624640 x) \sqrt {3-x+2 x^2}}{5+2 x} \, dx}{55050240}\\ &=\frac {(141051019-23482924 x) \sqrt {3-x+2 x^2}}{65536}+\frac {(500141-123060 x) \left (3-x+2 x^2\right )^{3/2}}{12288}+\frac {3505}{896} \left (3-x+2 x^2\right )^{5/2}-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}+\frac {\int \frac {21812190368640-43599628289280 x}{(5+2 x) \sqrt {3-x+2 x^2}} \, dx}{1761607680}\\ &=\frac {(141051019-23482924 x) \sqrt {3-x+2 x^2}}{65536}+\frac {(500141-123060 x) \left (3-x+2 x^2\right )^{3/2}}{12288}+\frac {3505}{896} \left (3-x+2 x^2\right )^{5/2}-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}-\frac {1622009981 \int \frac {1}{\sqrt {3-x+2 x^2}} \, dx}{131072}+\frac {297027}{4} \int \frac {1}{(5+2 x) \sqrt {3-x+2 x^2}} \, dx\\ &=\frac {(141051019-23482924 x) \sqrt {3-x+2 x^2}}{65536}+\frac {(500141-123060 x) \left (3-x+2 x^2\right )^{3/2}}{12288}+\frac {3505}{896} \left (3-x+2 x^2\right )^{5/2}-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}-\frac {297027}{2} \operatorname {Subst}\left (\int \frac {1}{288-x^2} \, dx,x,\frac {17-22 x}{\sqrt {3-x+2 x^2}}\right )-\frac {1622009981 \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{23}}} \, dx,x,-1+4 x\right )}{131072 \sqrt {46}}\\ &=\frac {(141051019-23482924 x) \sqrt {3-x+2 x^2}}{65536}+\frac {(500141-123060 x) \left (3-x+2 x^2\right )^{3/2}}{12288}+\frac {3505}{896} \left (3-x+2 x^2\right )^{5/2}-\frac {311}{448} (5+2 x) \left (3-x+2 x^2\right )^{5/2}+\frac {5}{112} (5+2 x)^2 \left (3-x+2 x^2\right )^{5/2}+\frac {1622009981 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{131072 \sqrt {2}}-\frac {99009 \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {2} \sqrt {3-x+2 x^2}}\right )}{8 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.18, size = 101, normalized size = 0.59 \[ \frac {-34065432576 \sqrt {2} \tanh ^{-1}\left (\frac {17-22 x}{12 \sqrt {4 x^2-2 x+6}}\right )+4 \sqrt {2 x^2-x+3} \left (983040 x^6-3710976 x^5+14493696 x^4-46476672 x^3+159973408 x^2-609499532 x+3149403255\right )+34062209601 \sqrt {2} \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{5505024} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 135, normalized size = 0.78 \[ \frac {1}{1376256} \, {\left (983040 \, x^{6} - 3710976 \, x^{5} + 14493696 \, x^{4} - 46476672 \, x^{3} + 159973408 \, x^{2} - 609499532 \, x + 3149403255\right )} \sqrt {2 \, x^{2} - x + 3} + \frac {1622009981}{524288} \, \sqrt {2} \log \left (4 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) + \frac {99009}{32} \, \sqrt {2} \log \left (-\frac {24 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (22 \, x - 17\right )} + 1060 \, x^{2} - 1036 \, x + 1153}{4 \, x^{2} + 20 \, x + 25}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 139, normalized size = 0.81 \[ \frac {1}{1376256} \, {\left (4 \, {\left (8 \, {\left (12 \, {\left (16 \, {\left (4 \, {\left (40 \, x - 151\right )} x + 2359\right )} x - 121033\right )} x + 4999169\right )} x - 152374883\right )} x + 3149403255\right )} \sqrt {2 \, x^{2} - x + 3} + \frac {1622009981}{262144} \, \sqrt {2} \log \left (-4 \, \sqrt {2} x + \sqrt {2} + 4 \, \sqrt {2 \, x^{2} - x + 3}\right ) - \frac {99009}{16} \, \sqrt {2} \log \left ({\left | -2 \, \sqrt {2} x + \sqrt {2} + 2 \, \sqrt {2 \, x^{2} - x + 3} \right |}\right ) + \frac {99009}{16} \, \sqrt {2} \log \left ({\left | -2 \, \sqrt {2} x - 11 \, \sqrt {2} + 2 \, \sqrt {2 \, x^{2} - x + 3} \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 183, normalized size = 1.06 \[ \frac {5 \left (2 x^{2}-x +3\right )^{\frac {5}{2}} x^{2}}{28}-\frac {111 \left (2 x^{2}-x +3\right )^{\frac {5}{2}} x}{224}-\frac {1622009981 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{262144}-\frac {99009 \sqrt {2}\, \arctanh \left (\frac {\left (-11 x +\frac {17}{2}\right ) \sqrt {2}}{12 \sqrt {-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}}}\right )}{16}+\frac {1395 \left (2 x^{2}-x +3\right )^{\frac {5}{2}}}{896}-\frac {10255 \left (4 x -1\right ) \left (2 x^{2}-x +3\right )^{\frac {3}{2}}}{4096}-\frac {707595 \left (4 x -1\right ) \sqrt {2 x^{2}-x +3}}{65536}+\frac {3667 \left (-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}\right )^{\frac {3}{2}}}{96}-\frac {40337 \left (4 x -1\right ) \sqrt {-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}}}{512}+\frac {33003 \sqrt {-11 x +2 \left (x +\frac {5}{2}\right )^{2}-\frac {19}{2}}}{16} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.00, size = 157, normalized size = 0.91 \[ \frac {5}{28} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} x^{2} - \frac {111}{224} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} x + \frac {1395}{896} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} - \frac {10255}{1024} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}} x + \frac {500141}{12288} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}} - \frac {5870731}{16384} \, \sqrt {2 \, x^{2} - x + 3} x - \frac {1622009981}{262144} \, \sqrt {2} \operatorname {arsinh}\left (\frac {4}{23} \, \sqrt {23} x - \frac {1}{23} \, \sqrt {23}\right ) + \frac {99009}{16} \, \sqrt {2} \operatorname {arsinh}\left (\frac {22 \, \sqrt {23} x}{23 \, {\left | 2 \, x + 5 \right |}} - \frac {17 \, \sqrt {23}}{23 \, {\left | 2 \, x + 5 \right |}}\right ) + \frac {141051019}{65536} \, \sqrt {2 \, x^{2} - x + 3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (2\,x^2-x+3\right )}^{3/2}\,\left (5\,x^4-x^3+3\,x^2+x+2\right )}{2\,x+5} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (2 x^{2} - x + 3\right )^{\frac {3}{2}} \left (5 x^{4} - x^{3} + 3 x^{2} + x + 2\right )}{2 x + 5}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________